<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2023/1/30
  Time: 10:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>bwf</title>
  </head>
  <body>
    <a href="/web02_war_exploded/s01?name=张三">GET请求</a>
    <hr/>
    <a href="/web02_war_exploded/sd01">转发</a>
    <hr/>
    <a href="/web02_war_exploded/sd01">包含</a>
    <hr/>
    <a href="/web02_war_exploded/r01">重定向</a>
    <hr/>
    <!--
       action:请求路径
       method:请求方式（默认get）
    -->
    <form action="/web02_war_exploded/s01" method="post">
      用户名：<input type="text" name="name">
      <button type="submit">POST请求</button>
    </form>
  </body>
</html>
